Platform Explorer / Nuxeo Platform 5.8

Component org.nuxeo.ecm.social.workspace.gadgets.pageproviders

Contributions

XML Source

<?xml version="1.0" encoding="UTF-8"?>
<component name="org.nuxeo.ecm.social.workspace.gadgets.pageproviders"
  version="1.0">

  <extension target="org.nuxeo.ecm.platform.query.api.PageProviderService"
    point="providers">

    <coreQueryPageProvider name="user_socialworkspaces">
      <pattern>
        SELECT *
        FROM SocialWorkspace
        WHERE  ecm:mixinType!='HiddenInNavigation'
               AND
               ecm:currentLifeCycleState !='deleted'
      </pattern>
      <sort column="dc:title" ascending="true" />
      <pageSize>0</pageSize>
    </coreQueryPageProvider>

    <genericPageProvider name="social_workspace_activity_stream"
      class="org.nuxeo.ecm.social.workspace.gadgets.SocialWorkspaceActivityStreamPageProvider">
      <pageSize>10</pageSize>
    </genericPageProvider>

    <genericPageProvider name="social_workspace_mini_messages"
      class="org.nuxeo.ecm.social.workspace.gadgets.SocialWorkspaceMiniMessagePageProvider">
      <pageSize>5</pageSize>
    </genericPageProvider>

    <genericPageProvider name="social_workspace_mini_message_activities"
      class="org.nuxeo.ecm.social.workspace.gadgets.SocialWorkspaceMiniMessageActivityPageProvider">
      <pageSize>5</pageSize>
    </genericPageProvider>

  </extension>

</component>